package com.huawei.appmarket.service.store.awk.card;

import android.content.Context;
import android.view.View;
import androidx.recyclerview.widget.RecyclerView.LayoutParams;
import com.huawei.appgallery.foundation.ui.framework.widget.button.DownloadButton;
import o.cgz;
import o.ewm.h;
import o.ewm.j;

public class HorizonHomeDlItemCardV2 extends HorizonHomeDlItemCard {
    private int ॱॱ;

    public HorizonHomeDlItemCardV2(Context context) {
        super(context);
    }

    public cgz ˏ(View view) {
        super.ˏ(view);
        ˋ((DownloadButton) view.findViewById(j.ᵣ));
        this.ॱॱ = this.ʼ + ʽ().getLayoutParams().height;
        return this;
    }

    protected void ॱ(int i, int i2) {
        if (this.ˋ != null) {
            ((LayoutParams) this.ˋ.getLayoutParams()).height = ((this.ʽ + (this.ʻ * i)) + (this.ᐝ * i2)) + this.ॱॱ;
        }
    }

    public int ˊ() {
        return h.ﹳ;
    }

    public int ˎ() {
        return h.ﹳ;
    }
}
